/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package remotechessplayer;

import java.net.Socket;

/**
 *
 * @author Jedrek
 */
public class MySocket{
    
    Socket socket;
    
    @Override
    public String toString(){
        return socket.getInetAddress().getHostName()+" ("+socket.getInetAddress().getHostAddress()+")";
    }
}
